package cn.edu.tcu.bean;

import java.util.Date;

/**
 * 实体类对象
 * 要求：
 *     实体类的属性名必须和数据库的字段名一样（可以忽略大小写）
 *     实体类的属性名前两个字母必须小写；不要使用类似于 t_ ,要求前缀必须小写且至少2字母
 *     主键字段要求使用包装类类型
 *     提供getter/setter方法接口
 * @author Administrator
 *
 */
public class AdminBean {

	/**
	 * 主键
	 */
	private Integer adminId;
	/**
	 * 管理员用户名
	 */
	private String adminName;
	private String adminPsw;

	private String adminMail;
	private String adminTel;
	private Date adminBirthday; // 查询时的开始条件
	private Date adminBirthday2; // 查询时的结束条件
	private String adminImg;
	private Integer isdeleted;
	
	
	public Date getAdminBirthday2() {
		return adminBirthday2;
	}

	public void setAdminBirthday2(Date adminBirthday2) {
		this.adminBirthday2 = adminBirthday2;
	}

	public String getAdminImg() {
		return adminImg;
	}

	public void setAdminImg(String adminImg) {
		this.adminImg = adminImg;
	}

	public String getAdminMail() {
		return adminMail;
	}

	public void setAdminMail(String adminMail) {
		this.adminMail = adminMail;
	}

	public String getAdminTel() {
		return adminTel;
	}

	public void setAdminTel(String adminTel) {
		this.adminTel = adminTel;
	}

	public Date getAdminBirthday() {
		return adminBirthday;
	}

	public void setAdminBirthday(Date adminBirthday) {
		this.adminBirthday = adminBirthday;
	}

	public Integer getAdminId() {
		return adminId;
	}

	public void setAdminId(Integer adminId) {
		this.adminId = adminId;
	}

	public String getAdminName() {
		return adminName;
	}

	public void setAdminName(String adminName) {
		this.adminName = adminName;
	}

	public String getAdminPsw() {
		return adminPsw;
	}

	public void setAdminPsw(String adminPsw) {
		this.adminPsw = adminPsw;
	}

	public Integer getIsdeleted() {
		return isdeleted;
	}

	public void setIsdeleted(Integer isdeleted) {
		this.isdeleted = isdeleted;
	}

	@Override
	public String toString() {
		return "AdminBean [adminId=" + adminId + ", adminName=" + adminName + ", adminPsw=" + adminPsw + ", adminMail="
				+ adminMail + ", adminTel=" + adminTel + ", adminBirthday=" + adminBirthday + ", adminImg=" + adminImg
				+ ", isdeleted=" + isdeleted + "]";
	}

}
